* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ececec;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


#main {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    flex-wrap: wrap;
}

#hh {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10%;
    width: 8px;
    height: 40px;
    border-radius: 15px;
    background-color: #7a7a7a;
}

#cir {
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: transparent;
    clip-path: polygon(50% 50%, 65% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 35% 0%);
    border-radius: 50%;
    border: 8px solid #7a7a7a;
}

input[type="checkbox"] {
    position: absolute;
    width: 200px;
    height: 200px;
    -webkit-appearance: none;
    box-shadow:
        -10px -10px 15px rgba(255, 255, 255, 0.5),
        10px 10px 15px rgba(70, 70, 70, 0.12);
    border-radius: 50%;
    border: 8px solid #ececec;
    outline: none;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    box-shadow:
        -10px -10px 15px rgba(255, 255, 255, 0.5),
        10px 10px 15px rgba(70, 70, 70, 0.12),
        inset -15px -15px 15px rgba(255, 255, 255, 0.5),
        inset 15px 15px 15px rgba(70, 70, 70, 0.12);
}

input[type="checkbox"]:checked~#main #cir {
    border: 8px solid #15e38a;
}

input[type="checkbox"]:checked~#main #hh {
    background-color: #15e38a;
}